package com.caeit.enum

enum class BacklogStatusEnum(val value: Int) {
    AUDITING(0),
    PASS(1),
    REJECT(2),
    SIGNING(3),
    SIGNED(4);

    companion object {
        fun getDateObj(value: Int): BacklogStatusEnum? {
            return when (value) {
                0 -> AUDITING
                1 -> PASS
                2 -> REJECT
                3 -> SIGNING
                4 -> SIGNED
                else -> null
            }
        }
    }
}